package com.felix.sim.spring.boot.controller;

import org.springframework.context.ApplicationContext;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
public class ItemController {

	private ApplicationContext applicationContext;

	/**
	 * http://localhost:8081/hello
	 * @param req
	 * @return
	 */
	@GetMapping("hello")
	public String queryItem(HttpServletRequest req) {
		return "test";
	}

}